@font-face {
    font-family: 'chineserocks';
    src: local('chineserocks'), url('chineserocks.ttf') format('truetype');
}

@font-face {
    font-family: 'Yanone-Thin';
    src: local('Yanone-Thin'), url('Yanone-Thin.ttf') format('truetype');
}

html, body {
    height: 100%;
}

body {
    background-color: #444;
    background: url('/images/fondo2x2000.png') repeat-x
}

a {
    text-decoration: none;
}

#header{
    height: 65px;
    color: #FFFFFF
}

#header a {
    color: #FFFFFF;
}

#header-title{
    margin-top: -5px;
}

#header-title h2 {
    color: #FFFFFF;
    margin-bottom: 0px;
}

#header-logout{
    margin-top: 18px;
}

#container {
    min-height:100%;
    position:relative;
} 

#body {
    padding-top: 5px;
    padding-bottom: 7em;   /* Height of the footer */
}

#logo-container {
    background: url(/images/logocompleto.png) no-repeat;
    margin-bottom: 0.5em;
}

#award_logo {
    height: 230px;
}

#hqh_logo{
    height: 140px;
}

.logo_link {
    display: block;
    height: inherit;
    width: inherit;    
}

#footer {
    background-color: #51C8ED;
    position:absolute;
    bottom:0;
    width:100%;
    height:7em;
}

#footer-categories {
    margin-top: 0.5em;
    height: 4em;
}

.categories-menu div {
    float: left;
    height: 2em;
    margin-right: 1em;
}

.categories-menu div.second-row-first {
    margin-left: 26em;
}

.categories-menu a{
    font-size: 1.2em;
    text-decoration: none;
    color: #FFFFFF
}

.categories-menu a:hover{
    color: #000
}

.footer-text {
    color: #FFF;
    margin-top: 0.5em;
}

.footer-text a {
    color: #FFF;
    font-weight: bolder
}

.footer-text p {
    margin: 0;
}

#form{
    margin-top: 240px;
    height: 235px;
}

#form, #form a.backtocategories {
    color: #FFFFFF;
}

#form a.backtocategories:hover {
    color: #0078ae;
}

#form .label {
    padding-top: 0.5em;
    padding-bottom: 0.5em;
}



ul.gallery{
    width: inherit; /*--Adjust width according to your scenario--*/
    list-style: none;
    margin: 0; 
    padding: 0;
}

ul.gallery li {
    position: relative;
    top: -10px;
    float: left;
    margin-bottom: 12px;
    margin-right: 8px;
    /*margin-top: 8px;*/
    padding: 0;
    text-align: center;
    border: 1px solid #ccc;
    -moz-border-radius: 3px; /*--CSS3 Rounded Corners--*/
    -khtml-border-radius: 3px; /*--CSS3 Rounded Corners--*/
    -webkit-border-radius: 3px; /*--CSS3 Rounded Corners--*/
    display: inline; /*--Gimp Fix aka IE6 Fix - Fixes double margin bug--*/
}

ul.gallery li a.thumb {
    width: 200px; /*--Width of image--*/
    height: 70px; /*--Height of image--*/
    padding: 5px;
    border-bottom: 1px solid #ccc;
    cursor: pointer;
}
ul.gallery li span { /*--Used to crop image--*/
    width: 200px;
    height: 70px;
    overflow: hidden;
    display: block;
}
ul.gallery li a.thumb:hover {
    background: #333; /*--Hover effect for browser with js turned off--*/
}
ul.gallery li h2 {
    font-size: 1.2em;
    font-weight: normal;
    text-transform: none;
    margin: 0;
    padding: 3px;
    background: #f0f0f0;
    border-top: 1px solid #fff; /*--Subtle bevel effect--*/
}
ul.gallery li a {
    text-decoration: none;
    color: #777;
    display: block;
}

.ac_option a{
    height: 40px;
}

.ac_option ul{
    margin:0px;
    padding: 0;
    list-style-type: none;
    text-align: left;
    clear: both
}

.ac_option ul li { 
    display: inline;
}

.ac_option ul li span.ac_option_image {
    display: block;
    width: 32px;
    height: 32px;
    margin: 2px 5px;
    float: left;
}

.ac_option ul li span.ac_option_info {
    display: block;
    float: left;
    width: 400px;
}

 .form-container{
     display: block;
     color: #059;
 }
 
 .form_row {
     margin-bottom: 5px;
 }
 
 .form_row .form_row_error{
     color: #FFF;
     font-weight: bold;
     padding: 0 5px;
     background-color: #CC0000;
     -moz-border-radius: 3px; /*--CSS3 Rounded Corners--*/
     -khtml-border-radius: 3px; /*--CSS3 Rounded Corners--*/
     -webkit-border-radius: 3px; /*--CSS3 Rounded Corners--*/
 }
 
 .form_row_error p{
     margin-bottom: 0px;
 }
 
 .form_row .form_row_field .title{
     width: 200px;
     margin: 0;
 }
 
 .form_row .form_row_field .form_row_field_input select{
     padding: 0.6em;
     font-weight: bold;
     border: #ccc solid 1px;
 }
 
 form .form_row_field_input input[type=checkbox] {
     margin: 0.8em 0;
 }
 
 .form_row .form_row_field .form_row_field_label{
     text-align: right;
 }
 
 .apply-form {
     background: #51C8ED/*url('/images/registrate_1.png') no-repeat;*/
 }
 
 .apply-form h2, .form_row_field_label label {
     color: #FFF;
 }
 
 #nominee .form_row_field_label, #candidate .form_row_field_label{
     margin-top: 8px
 }
 
 #nomination-form .form_row {
     margin-bottom: 0px;
 }
 
 .apply-form h2, .signin-form-title, .thanks-dialog, a.backtocategories,
 .menu-option, .pending-categories-title, .nominations-title, .sf_apply_notice,
 .votes-title {
     font-family: 'chineserocks';
 }
 
 #footer, .sf_apply_notice_body, .nominations, .user-nominations, .user-votes{
     font-family: 'Yanone-Thin';
 }
 
 #prev-nominee h3, #notfound p, #prev-nominee p, #form .form_row_field_label label,
 a.backtocategories, .form_help{
     text-shadow: 2px 2px 2px #000000;
 }
 
 #prev-nominee h3, #prev-nominee p, #notfound p {
     text-align: center;
     color: #FFFFFF;
 }
 
 #prev-nominee {
     margin-top: 0.5em;
 }
 
 #prev-nominee h3 {
     margin-bottom: 0.5em;
 }
 
 #prev-nominee p, .form_help {
     font-size: 0.9em;
     font-style: italic;
     font-weight: bold;
     margin-bottom: 0px;
 }
 
 #notfound p {
     font-size: 1.2em;
     font-style: normal;
     font-weight: bold;
     margin-bottom: 0px;
 }
 
 .user-nomination, .user-vote {
     margin-bottom: 0.5em;
 }
 
 .nominations-title, .votes-title{
     margin-bottom: 1em;
 }
 
 .nominations-title h2, .votes-title h2{
     margin-bottom: 0px;
 }
 
 .user-nomination h4, .user-vote h4{
     font-size: 1.5em;
     margin-bottom: 0px;
     margin-top: 0.5em;
 }
 
 .user-nomination .category-name{
     text-align: right;
 }
 
 .category-image-small img{
     width: 110px;
 }
 
 .category-pending{
     margin-bottom: 1em;
 }
 
 .voted-candidate img {
     float: left;
 }
 
 .sf_apply_notice_body {
     font-size: 2em;
 }
 
 .pending-categories-title{
     margin-top: 1em;
 }
 
 .nominations-title h2, .pending-categories-title h2, .nomination h4{
     margin-bottom: 0em;
 }
 
 #signin_form label{
     color: #000;
     font-weight: bold;
 }
 
 .thanks-dialog {
     text-align: center;
 }
 
 .thanks-dialog h1{
     font-size: 4em;
     margin-bottom: 0.2em;
 }
 
 .thanks-dialog p{
     font-size: 2em;
     margin-bottom: 0.5em;
 }
 
 #backtocategories {
     margin-top: 1em;
     text-align: center;
 }
 
 a.backtocategories {
     font-size: 1.8em;
     color: #000000
 }
 
 a.backtocategories:hover {
     color: #51C8ED;
     font-size: 1.8em;
 }
 
 #categories {
     margin-top: 10px;
 }
 
 #signin_form_min {
     font-size: 11px;
 }
 
 #signin_form_min label {
     font-weight: normal
 }
 
 #signin_form_min .misc {
     margin-top: 5px;
     margin-bottom: 0px;
 }
 
 #signin_form_min input {
     margin: 0;
 }
 
 #signin_form_min #submit-button {
     margin-top: 12px;
 }
 
 #signin_form_min tbody tr:nth-child(2n) td {
     background: none;
 }
 
 .loader {
     text-align: center;
     margin-top: 150px;
 }
 
 /*
    Reglas para el formulario de votación
 */
 .voting-form-container, .voting-form-row {
     margin-bottom: 1em;
 }
 
 .voting-form-row-field-label {
     height: inherit;
 }
 
 .voting-form-category-image {
     width: 150px
 }
 
 .voting-form-submit {
     text-align: center;
 }
 
 input.voting-option{
     margin-top: 55px;
     margin-bottom: 2px;
 }
 
 .voting-option-label {
     margin: 0px;
     font-weight: bold;
     font-family: 'Yanone-Thin';
     font-size: 1.25em;
 }
 
 div.voting-option {
     width: 90px;
     margin-right: 5px;
     margin-left: 5px;
     float: left;
     text-align: center;
 }
 
 div.voting-option label{
     width: 90px;
 }
 
 